package com.base.po.voip;

/**
 * 商城文字
 * 
 * @author Administrator
 *
 */
public class ShopText {
	private String id;// id

	private String text;// 文字

	private String pic;// 图片

	private Boolean datastatus;// 数据状态

	private Integer type;// 类型 1图片 2文字 3商品详情图

	private String parentid;// id

	private String url;// 跳转地址

	private String bgpic;// 背景图片

	private String bgcolor;// 背景颜色
	
	private String secondtext;// app接口 文字

	public ShopText() {
		super();
	}
	
	public ShopText(Boolean datastatus, String parentid) {
		super();
		this.datastatus = datastatus;
		this.parentid = parentid;
	}

	public ShopText(Boolean datastatus, Integer type, String parentid) {
		super();
		this.datastatus = datastatus;
		this.type = type;
		this.parentid = parentid;
	}

	public ShopText(String id, String text, String pic, Boolean datastatus, Integer type, String parentid, String url) {
		super();
		this.id = id;
		this.text = text;
		this.pic = pic;
		this.datastatus = datastatus;
		this.type = type;
		this.parentid = parentid;
		this.url = url;
	}

	public String getParentid() {
		return parentid;
	}

	public void setParentid(String parentid) {
		this.parentid = parentid == null ? null : parentid.trim();
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url == null ? null : url.trim();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text == null ? null : text.trim();
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic == null ? null : pic.trim();
	}

	public Boolean getDatastatus() {
		return datastatus;
	}

	public void setDatastatus(Boolean datastatus) {
		this.datastatus = datastatus;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}
	
	public String getSecondtext() {
		return secondtext;
	}

	public void setSecondtext(String secondtext) {
		this.secondtext = secondtext;
	}

	public String getBgpic() {
		return bgpic;
	}

	public void setBgpic(String bgpic) {
		this.bgpic = bgpic;
	}

	public String getBgcolor() {
		return bgcolor;
	}

	public void setBgcolor(String bgcolor) {
		this.bgcolor = bgcolor;
	}
}